@extends('admins.layouts.default')
@section('content')
	<div class="row">
		<span class="pull-rleft">Create Group</span>
		<span class="pull-right">{{ link_to_route('admin.group.index', 'Cancel') }}</span>
	</div>
	<div class="row">
		@if ($errors->any())
			{{ implode('', $errors->all('<div class="alert alert-danger" role="alert">:message</div>')) }}
		@endif
		
		{{ Form::open(['route' => 'admin.group.store', 'role' => 'form']) }}
			<div class="form-group">
			 	{{ Form::label('name', 'Name') }}
			 	{{ Form::text('name', null, ['class' => 'form-control', 'placeholder' => 'Enter Group']) }}
			</div>
	        {{ Form::submit('Save', ['class' => 'btn btn-info']) }}
	    {{ Form::close() }}
	</div>
@stop